<template>
  <div class="myContainer">
    <!-- 头部标题 start -->  
    <el-row class="myHeadeTitle">
      <el-col :span="10">
        未执行推送设置
      </el-col>
    </el-row>
    <!-- 头部标题 end -->
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        推送对象 :
      </el-col>
      <el-col :span="10">
        <template>
          <el-transfer v-model="value1" :titles="['推送对象列表', '已推送对象列表']" :data="data"></el-transfer>
        </template>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        推送文本信息 :
      </el-col>
      <el-col :span="10">
        <el-input type="textarea" placeholder="推送文本信息"></el-input>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        状态 :
      </el-col>
      <el-col :span="10" class="myLineHeight_45px">
        <template>
          <el-radio-group v-model="radio">
            <el-radio :label="1">启用</el-radio>
            <el-radio :label="2">禁用</el-radio>
          </el-radio-group>
        </template>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="10" :offset="3">
        <el-button type="primary" class="myBgGreen">保存设置</el-button>
        <el-button type="primary" class="myBgGreen">恢复默认设置</el-button>
      </el-col>
    </el-row>
  </div>
</template>  

<style scoped>
  .myContainer{
    background: #fff;
    padding: 10px;
  }
  .myHeadeTitle{
    color: #000;
    font-weight: 500;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom:10px; 
  }
  .myHeadeTitle:before,.myHeadeTitle:after{
    content: " ";
    display: block;
    clear: both;
  }
  .myBgGreen{
    background: #00c2a9;
    border-color: #00c2a9;
    color: #fff;
    margin-top: 2px;
  }
  .myLineHeight_35px{
    line-height: 35px;
  }
  .myTextAlignRight{
    text-align: right;
  }
  .myBgGreen:hover{
    background: #33ceba;
  }
  .myPaddingTop_10px{
    padding-top: 10px;
  }  
  .myLeftMsg{
    line-height: 40px;
    text-align: right;
    padding-right: 10px;
  }
  .myPaddingBottom_10px{
    padding-bottom: 10px;
  }
  .myVA_M{
    vertical-align: middle;
  }
  .myPadding_20px{
    padding: 20px;
  }
  .myDialogSearchText{
    width: 360px;
  }
  .myLineHeight_45px{
    line-height: 45px;    
  }
  .myOV_y_400px{
    max-height: 400px;
    min-height: 200px;
    overflow-y:scroll;
  }
</style>

<script>
  export default {
     data(){
      const generateData = _ => {
        const data = [];
        for (let i = 1; i <= 15; i++) {
          data.push({
            key: i,
            label: `备选项 ${ i }`
            // disabled: i % 4 === 0
          });
        }
        return data;
      };
      return{
        kw:"",
        modelValue:"",
        modelOptions:[],
        tableData: [],
        page_num:1,
        page_size:10,
        total:null,
        newRoleDialogVisible:false,
        roleData:[{label:"角色1"},{label:"角色2"},{label:"角色3"}],
        searchKW:"",
        data: generateData(),
        value1: [1, 4],
        radio:1
      }
    },
    components: {
        
    },
   
    mounted(){
      document.title = '巡检任务管理';
      
     
    },
    methods:{
      onSearchKW:function(val){

      },
      handleSizeChange(val) {//每页条数控制
        this.page_size = val;
      },
      handleCurrentChange(val) {//每页
        this.page_num = val;
      },
      onSearch:function(){

      },
      onDetailed:function(){//查看
        this.$router.push({
          path:'/xjrwglxx',
          query: {type: 'info'}
        })
      },
      onInspect:function(){//检查
        // this.$router.push({
        //   path:'/wbrwgljc',
        //   query: {type: 'info'}
        // })
      },
      onCount:function(){//统计
        // this.$router.push({
        //   path:'/taskManagementCount',
        //   query: {}
        // })
      },
      onPush:function(){//逾期推送
        // this.$router.push({
        //   path:'/push',
        //   query: {}
        // })
      }
    }

  }

</script>  



